package com.yequan.thread.singleton.hungry;


public class MyObject {

    /**
     * 饿汉模式
     */
    private static MyObject myObject = new MyObject();

    private MyObject() {
    }

    public static MyObject gteInstance() {
        return myObject;
    }

}
